package com.bytz.modules.cms.product.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.bytz.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;


@Data
public class ProductChangeExcel {

    @ApiModelProperty(value = "商品编号")
    @ExcelProperty("商品编号")
    private String productNumber;

    @ApiModelProperty(value = "状态（0：未上架，1：上架）")
    @Dict(dicCode = "product_status")
    @ExcelProperty("状态（0：未上架，1：上架）")
    private String status;

    @ApiModelProperty(value = "预计交期时间")
    @ExcelProperty("预计交期")
    private Integer deliveryDate;

    @ApiModelProperty(value = "最大订货数量")
    @ExcelProperty("最大订货数量（不限制则填0）")
    private Integer maxOrderQuantity;

    @ApiModelProperty(value = "成本价")
    @ExcelProperty("成本价")
    private BigDecimal costPrice;

}
